<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        /* 
          运算符优先级：
               1.（）
               2.单目运算符   ++--
               3.算术运算符   + - * / % (先乘除后加减)
               4.比较运算符 > < >= <= !=  ==  ===
               5.逻辑运算符 && || (先&&再||)
               6.三目运算符  ？ ： (了解即可)
               7.赋值运算符  = += -= *= /=
        */

        console.log(4 >=6 || '人' !='黑色毛衣' && !(12 * 2 ==144) * true);

        var num = 10;
        console.log(5 == num /2 && (2 + 2 * num).toString() === '22');

        console.log('----------');
        var a =3 > 5 && 2 < 7 && 3 == 4;
        console.log(a);

        var b = 3 <=4 || 3 >1 || 3!=2;
        console.log(b);

        var  c= 2 === "2";
        console.log(c);

        var d = !c || b && a;
        var d = true || true && false;
        console.log(d);
    </script>
</head>
<body>
    
</body>
</html>